﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Asteroids.Game
{
    class Beam : Projectile
    {
        public Beam(Coordinate loc, double direction) : base(loc, direction, 40)
        {
            Life = 70;

            VertexData.Add(new PolarCoordinate(Math.PI * 1 / 24, 20f));
            VertexData.Add(new PolarCoordinate(Math.PI * 23 / 24, 20f));
            VertexData.Add(new PolarCoordinate(Math.PI * 25 / 24, 20f));
            VertexData.Add(new PolarCoordinate(Math.PI * 47 / 24, 20f));

            Radius = 20;
        }
    }
}
